projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd0d2c5
)
(EmacsFrameSetCharSize): Set the values of left_pos and
author
Fred Pierresteguy
<F.Pierresteguy@frcl.bull.fr>
Mon, 14 Mar 1994 16:44:04 +0000
(16:44 +0000)
committer
Fred Pierresteguy
<F.Pierresteguy@frcl.bull.fr>
Mon, 14 Mar 1994 16:44:04 +0000
(16:44 +0000)
top_pos to the values of the toplevel widget coordinates.
src/widget.c
patch
|
blob
|
history
diff --git
a/src/widget.c
b/src/widget.c
index eb593f15b7d1c62773fadf21de5de6c38a563747..aabd63accd676f0af6704665a1e0f80d2399f9fd 100644
(file)
--- a/
src/widget.c
+++ b/
src/widget.c
@@
-876,6
+876,9
@@
EmacsFrameSetCharSize (widget, columns, rows)
if (columns < 3) columns = 3; /* no way buddy */
if (rows < 3) rows = 3;
+ f->display.x->left_pos = f->display.x->widget->core.x;
+ f->display.x->top_pos = f->display.x->widget->core.y;
+
check_frame_size (f, &rows, &columns);
f->display.x->vertical_scroll_bar_extra
= (FRAME_HAS_VERTICAL_SCROLL_BARS (f)